package com.k2data.k2app.common;

import com.k2data.k2app.constant.ResponseCode;

/**
 * @author lidong9144@163.com 17-3-28.
 */
public class ResponseConstant {

    public static final Integer GENERAL = ResponseCode.getCode(ResponseCode.TYPE_CLIENT_ERROR, ResponseCode.K2ALPHA_DEVICE, "000");
    public static final Integer ID_NOT_FOUND = ResponseCode.getCode(ResponseCode.TYPE_CLIENT_ERROR, ResponseCode.K2ALPHA_DEVICE, "010");
    public static final Integer OBJECT_HAS_EXIST = ResponseCode.getCode(ResponseCode.TYPE_CLIENT_ERROR, ResponseCode.K2ALPHA_DEVICE, "011");

    public static final String MSG_CUSTOMER_ID_NOT_FOUND = "Customer id not found.";
    public static final String MSG_DEVICE_ID_NOT_FOUND = "Device id not found.";
    public static final String MSG_OBJECT_HAS_EXIST = "部件，测点，通道相同的数据已经存在.";
    public static final String MSG_COMPONENT_ID_NOT_FOUND = "Component id not found.";
    public static final String MSG_TEMPLATE_DEVICE_ID_NOT_FOUND = "Template device id not found.";

}
